<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Kyo MVC</title>
</head>
<body>
    <h1>Hello: {$name}</h1>
    <h3>{$age}</h3>

    <table style="border:1px #000 solid; width: 100%">
        <thead>
            <tr>
                <th>ID</th>
                <th>NAME</th>
                <th>AGE</th>
                <th>SEX</th>
            </tr>
        </thead>
        <tbody>
            {foreach $data as $row}
            <tr>
                <td>{$row['id']}</td>
                <td>{$row['name']}</td>
                <td>{$row['age']}</td>
                <td>{$row['sex']}</td>
            </tr>
            {/foreach}
        </tbody>
    </table>

</body>
</html>
